.dm-mobile-header {
  display: none;
}

.dm-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--dm-color-gb);
  padding-left: 21.1rem;
  padding-right: 21.4rem;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 10rem;
}

.logo-wrapper {
  display: flex;
  width: 24.1rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
}

.dm-header .logo-wrapper img {
  height: 100%;
}

.menu-search-power {
  display: flex;
  gap: 3.4rem;
  margin: 0 13.4rem;
  height: 100%;
}

.dm-main-menu-item {
  font-size: var(--dm-font-body1-size);
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
}

.dm-main-menu-item-a {
  height: 100%;
  display: flex;
  align-items: center;
}

.dm-header .menu-title {
  color: var(--dm-color-white);
  padding: 0.95rem 0;
  white-space: nowrap;
}

.dm-wish {
  display: flex;
  height: 100%;
  margin-right: 3rem;
  align-items: center;
  gap: 2.4rem;
}

.dm-wish-icon {
  display: flex;
  height: 100%;
  align-items: center;
  cursor: pointer;
}

.icon-like {
  position: relative;
}

.dm-wish-icon .icon-lick-num {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: var(--dm-color-primary);
  color: var(--dm-color-white);
  text-align: center;
  line-height: 2rem;
  font-size: 1.2rem;
  right: -1rem;
  top: 3rem;
  border-radius: 50%;
}

.icon-shop {
  position: relative;
}

.dm-wish-icon .icon-shop-num {
  position: absolute;
  width: 2rem;
  height: 2rem;
  color: var(--dm-color-white);
  background-color: var(--dm-color-primary);
  text-align: center;
  line-height: 2rem;
  font-size: 1.2rem;
  right: -1rem;
  top: 3rem;
  border-radius: 50%;
}

.dm-inquiry-btn button {
  font-family: var(--dm-font-family-base);
  font-weight: 500;
  font-size: var(--dm-font-body1-size);
  line-height: 100%;
  border-radius: var(--dm-border-radius);
  text-decoration: none;
  width: 9.4rem;
  height: 4.2rem;
  color: var(--dm-color-white);
  background: var(--dm-color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 auto;

  /* 关键：添加过渡动画 */
  transition: all 0.3s ease;
}

.dm-inquiry-btn button:hover {
  background: var(--dm-color-white);
  color: var(--dm-color-primary);
  outline: 1px solid var(--dm-color-primary);
}

.no-data-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-text-top {
  width: 88.7rem;
  height: 31.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loading-info svg {
  /* width: 11.2rem;
  height: 11.2rem; */
  margin-bottom: 1.8rem;
  animation: spin 3s linear infinite; /* 无限旋转 */
}

/* 返回顶部 */

#dm-back-to-top {
  width: 6.6rem;
  z-index: 111;
  right: 21rem;
  bottom: 0.9rem;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6.6rem;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
}

/* #dm-back-to-top :hover {
  color: #CCB5901F;
} */

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loading-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.loading-info p {
  color: var(--dm-gray-400);
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body-weight);
}

.not-title {
  color: var(--dm-color-dark);
  font-size: 2.2rem;
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  height: 4.3rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
}

.not-spec {
  font-family: var(--dm-font-family-base);
  font-size: var(--dm-font-body1-size);
  font-weight: var(--dm-font-body-weight);
  color: #373737;
  line-height: 2.8rem;
  text-align: center;
}

/* 联系我们 */
.error-contact-content {
  width: 73.4rem;
  height: 45.5rem;
  margin: 4.2rem auto;
}

.error-contact-content .error-contact-title {
  font-family: Quicksand;
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 100%;
}

.error-contact-content .form-content .form-item {
  /* margin-bottom: 2.7rem; */
  width: calc(50% - 5rem);
  display: flex;
  flex-direction: column;
}

.error-contact-content .form-content .error-message {
  font-size: var(--dm-font-body1-size);
  color: var(--dm-color-warning);
  height: var(--dm-font-h2-size);
  font-family: Quicksand;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease; /* 动画时长可调 */
}

.error-contact-content .form-content .error-message.show {
  visibility: visible;
  opacity: 1;
}

.error-contact-content .form-content .form-item .form-check {
  color: #9d9d9c;
  display: flex;
  align-items: center;
  font-size: var(--dm-font-body1-size);
  font-weight: 400;
}

.error-contact-content .form-content .form-item .form-check input {
  margin-bottom: 0;
}

.error-contact-content .form-content {
  margin: 4.2rem 0;
  width: 73.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.error-contact-content .form-content .form-item-label {
  font-family: Quicksand;
  font-weight: 400;
  font-size: var(--dm-font-body1-size);
  color: var(--dm-color-dark);
  margin-bottom: 0.1rem 0.3rem;
}

.error-contact-content .form-content .form-item input,
.error-contact-content .form-content .form-item select {
  border-bottom: 1px solid var(--dm-gray-500);
  outline: none;
  height: 2.7rem;
  font-family: Quicksand;
  font-style: normal;
  font-weight: 400;
  font-size: var(--dm-font-body1-size);
}

.error-contact-content .form-content .form-item input:focus {
  border-bottom: 1px solid var(--dm-color-primary);
}

.error-contact-content .form-content .form-item .select-dropdown > ul {
  overflow-y: visible;
}

.select-dropdown {
  font-family: Roboto;
  font-weight: 400;
  position: relative;
  margin-bottom: 0.3rem;
}

.select-dropdown p {
  height: 2.7rem;
  line-height: 2.7rem;
  border-bottom: 1px solid #868686;
  cursor: pointer;
  font-size: var(--dm-font-body1-size);
}

.select-dropdown ul {
  top: 2.7rem;
  width: 100%;
  background-color: var(--dm-color-white);
  box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
  position: absolute;
  overflow: auto;
  z-index: 10;
  font-size: var(--dm-font-body1-size);
  max-height: 20rem;
  overflow-y: auto;
  border: 0.3rem solid var(--dm-color-primary);
  border-radius: 0.6rem;
  display: none;
}

.select-dropdown ul li {
  height: var(--dm-font-h1-size);
  line-height: var(--dm-font-h1-size);
  padding: 0 1.25rem;
  color: #000;
  cursor: pointer;
}

.select-dropdown:hover .select-arrows path {
  stroke: var(--dm-color-primary);
}

.select-dropdown:hover p {
  border-bottom: 1px solid var(--dm-color-primary);
}

.select-dropdown .select-arrows {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.select-dropdown ul li:hover {
  background: var(--dm-color-primary);
  color: var(--dm-color-white);
}

.select-dropdown ul li {
  position: relative;
}

.select-dropdown .second-select {
  position: absolute;
  left: 100%;
  top: 0.21rem;
}

.select-dropdown ul li:hover ul {
  display: block;
}

.dm-footer-form {
  font-weight: 500;
  font-style: medium;
  font-size: var(--dm-font-body1-size);
  leading-trim: none;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  border-radius: var(--dm-border-radius);
  text-decoration: none;
  width: 18.7rem;
  height: 5.6rem;
  color: var(--dm-color-white);
  font-family: Helvetica;
  background: var(--dm-color-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.dm-footer-form:hover {
  background: var(--dm-color-white);
  color: var(--dm-color-primary);
  outline: 1px solid var(--dm-color-primary);
}

.dm-header .dm-main-header-input {
  position: fixed;
  top: 0;
  left: 0;
  padding-left: 21rem;
  padding-top: 4.2rem;
  padding-right: 70.7rem;
  width: 100%;
  background-color: #fff;
  display: none;
}

.dm-header .search-top-content {
  display: flex;
  align-items: center;
  position: relative;
}

.dm-header .search-top-content .search-title {
  font-family: var(--dm-font-family-base);
  font-weight: var(--dm-font-h2-weight);
  font-size: 2.4rem;
  margin-right: 2.8rem;
}

.dm-header .search-down .search-top-content .search-icon {
  margin-left: 1.6rem;
  cursor: pointer;
}

.dm-header .search-down .search-top-content .search-icon img {
  width: 3.7rem;
  height: 2.8rem;
}

/* .dm-header .search-down .search-top-content .search-close-icon {
  position: absolute;
  top: 3.4rem;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  cursor: pointer;
  pointer-events: none;
  right: 6.5rem;
  display: none;
} */
.dm-header .search-down .search-top-content .search-close-icon img {
  width: 1.4rem;
  height: 1.4rem;
}

.dm-header .search-placeholder {
  margin-left: 10.7rem;
  margin-top: 3.2rem;
  display: flex;
  margin-bottom: 7.8rem;
  flex-direction: column;
  gap: 1.6rem;
}

.dm-header .placeholder-title {
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
  font-size: 1.8rem;
  font-weight: 600;
}

.dm-header .placeholder-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dm-header .dm-placeholder-info {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
}

.dm-header .dm-placeholder-info .info-text {
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
  font-size: 1.8rem;
  font-weight: 400;
}

.dm-header .dm-placeholder-info img {
  width: 1.4rem;
  height: 1.4rem;
}

.dm-header .search-results {
  margin-bottom: 8.6rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  height: 70rem;
  overflow: hidden auto;
  margin-left: 10.7rem;
  margin-top: 3.2rem;
}

.dm-header .search-results-info {
  padding-bottom: 1.5rem;
  display: flex;
  border-bottom: 0.1rem solid var(--dm-color-border);
}

.dm-header .search-results-info a {
  width: 8.8rem;
  height: 8.8rem;
}

.dm-header .search-results-info img {
  width: 8.8rem;
  height: 8.8rem;
}

.dm-header .results-text {
  font-family: var(--dm-font-family-base);
  font-weight: 400;
  font-size: 1.8rem;
  width: 100%;
  padding-left: 2.1rem;
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

.dm-input-wrapper {
  width: 89.6rem;
  padding-right: 2rem;
  padding-left: 2rem;
  align-items: center;
  height: 6.6rem;
  border-radius: 0.8rem;
  border: 0.1rem solid #242424;
  display: flex;
}

.dm-input-wrapper input {
  font-size: 1.8rem;
  height: 6.6rem;
  width: 100%;
  border-radius: 0.8rem;
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
}

.dm-input-wrapper .search-close-icon {
  cursor: pointer;
  display: none;
}

.select-content {
  margin-top: 10rem;
  min-height: 33rem;
  padding: 2.7rem 17.6rem 6.2rem;
}

.dm-select-shapes-body {
  position: absolute;
  top: 10rem;
  left: 0;
  background-color: var(--dm-color-bg-light);
  width: 100%;
}

.dm-select-shapes-body .dm-select-shapes-body-dm {
  padding: 2.7rem 17.6rem 6.2rem;
  display: flex;
  width: 100%;
  gap: 4.2rem;
  flex-wrap: wrap;
}

.dm-select-shapes {
  left: 0;
  width: 100%;
  padding: 2.6rem 46.5rem 5.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 3.5rem 11.9rem;
}

.dm-select-guides {
  left: 0;
  width: 100%;
  padding: 2.6rem 45rem 9.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.4rem 9rem;
}

.dm-select-guides .grid-item p {
  font-size: var(--dm-font-body1-size);
  color: var(--dm-gray-500);
  font-weight: var(--dm-font-h3-weight);
  overflow: hidden;
  text-overflow: ellipsis;
  width: 28.1rem;

  /* 最多显示行 多余的部分用省略号显示 */
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
}

.dm-select-diamonds-body {
  display: flex;
  gap: 3.9rem;
  flex-wrap: wrap;
  left: 0;
  top: 10rem;
}

.dm-select-shapes .grid-item {
  width: 15.8rem;
  height: 6rem;
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

.dm-select-shapes .grid-item a {
  width: 6rem;
  height: 6rem;
}

.dm-select-shapes .grid-item a img {
  width: 6rem;
  height: 6rem;
}

.dm-select-shapes .grid-item p {
  font-size: var(--dm-font-body1-size);
  color: var(--dm-gray-500);
  font-weight: var(--dm-font-h3-weight);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

.grid-item p:hover {
  color: var(--dm-color-primary);
}

.dm-main-menu-item.active .menu-title {
  color: var(--dm-color-primary);

  /* font-weight: bold; */
}

/* .dm-menu-wrapper {
  bottom: -2.5rem;
  left: 0;
  position: absolute;
  background-color: var(--dm-color-white);
} */

.item-content {
  width: 28rem;
  height: 24.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.item-content .lab-img {
  width: 20rem;
  height: 20rem;
  overflow: hidden;
}

.item-content .lab-img img {
  width: 100%;
  height: 100%;
  transition: all 0.5s;
}

.item-content .lab-img img:hover {
  transform: scale(1.1);
}

.item-content p {
  /* 不换行 */
  width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--dm-font-family-base);
  color: var(--dm-gray-500);
  font-size: var(--dm-font-body1-size);
}

.item-content p:hover {
  color: var(--dm-color-primary);
}

@media (width <= 768px) {
  .dm-header {
    display: none;
  }

  .dm-mobile-header {
    display: flex;
    z-index: 999;
    box-sizing: border-box;
    flex-direction: column;
    position: fixed;
    width: 100%;
    top: 0;
  }

  .dm-mobile-search {
    height: 9.2rem;
    background: var(--dm-color-gb);
    align-items: center;
    padding-left: 2.6rem;
    padding-right: 3.3rem;
    display: flex;
    justify-content: space-between;
  }

  .dm-mobile-logo {
    height: 15.3rem;
    background: var(--dm-gray-900);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .dm-mobile-search .search-icon {
    height: 3.6rem;
    width: 3.6rem;
    display: flex;
  }

  .search-coll-content {
    align-items: center;
    display: flex;
    gap: 4.4rem;
  }

  .search-coll-icon {
    height: 3.6rem;
    width: 3.6rem;
    display: flex;
  }

  .shop-mobile {
    position: relative;
  }

  .info-shop-num {
    width: 2.3rem;
    height: 2.3rem;
    top: -0.9rem;
    right: -1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background-color: var(--dm-color-primary);
    color: var(--dm-color-white);
    position: absolute;
  }

  .like-mobile {
    position: relative;
  }

  .info-like-num {
    width: 2.3rem;
    height: 2.3rem;
    top: -0.9rem;
    right: -1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background-color: var(--dm-color-primary);
    color: var(--dm-color-white);
    position: absolute;
  }

  .dm-mobile-btn button {
    font-family: var(--dm-font-family-base);
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 100%;
    border-radius: var(--dm-border-radius);
    text-decoration: none;
    width: 12.7rem;
    height: 5.4rem;
    color: var(--dm-color-white);
    background: var(--dm-color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    /* 关键：添加过渡动画 */
    transition: all 0.3s ease;
  }

  .dm-mobile-btn button:hover {
    background: var(--dm-color-white);
    color: var(--dm-color-primary);
    outline: 1px solid var(--dm-color-primary);
  }

  .logo-wrapper {
    width: 40.9rem;
    height: 6.8rem;
    margin-left: 5.4rem;
    margin-right: 6.6rem;
  }

  .logo-wrapper img {
    width: 100%;
    height: 100%;
  }

  .menu-wrapper {
    display: flex;
    width: 4.4rem;
    cursor: pointer;
    height: 4.4rem;
  }

  .mobile-drop-down {
    width: 100%;
    position: absolute;
    top: 0;
    background-color: #fff;
    display: none;
  }

  .close-icon-wrapper {
    display: flex;
    cursor: pointer;
    padding: 3.1rem 3.3rem;
    box-shadow: 0 0.5px 4px 0 #0000001a;
    justify-content: end;
  }

  .close-icon {
    height: 3.8rem;
    width: 3.8rem;
    display: flex;
  }

  .nav-content {
    padding-left: 0.9rem;
    padding-right: 1.8rem;
  }

  .mobile-drop-down .first-nav {
    margin-bottom: 1.8rem;
  }

  .mobile-drop-down .first-nav a {
    color: var(--dm-gray-500);
    font-family: var(--dm-font-family-base);
    font-weight: 500;
    font-size: 4rem;
  }

  .mobile-drop-down .first-nav:first-child {
    margin-top: 4.8rem;
  }

  .first-nav-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .first-nav-title .put-icon {
    width: 2.2rem;
    display: flex;
    height: 2.2rem;
    cursor: pointer;
  }

  .put-icon img {
    /* 旋转180 */
    transform: rotate(180deg);
  }

  .second-nav {
    display: none;
  }

  .mobile-drop-down .second-nav li {
    margin-top: 1.8rem;
  }

  .mobile-drop-down .second-nav li:first-child {
    margin-top: 1.6rem;
  }

  .mobile-drop-down .second-nav li a {
    color: var(--dm-color-text);
    font-weight: 400;
    font-size: 3.4rem;
    line-height: 4.2rem;
    font-family: var(--dm-font-family-base);
  }

  .dm-main-header-input {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    display: none;
  }

  .search-down {
    padding-top: 4.5rem;
    padding-left: 2.5rem;
    padding-right: 3.2rem;
  }

  .search-top-content {
    display: flex;
    align-items: center;
    position: relative;
  }

  .search-top-content .search-title {
    font-family: var(--dm-font-family-base);
    font-weight: var(--dm-font-h2-weight);
    font-size: 2.4rem;
    margin-right: 2.8rem;
  }

  .search-top-content input {
    padding-right: 6rem;
    padding-left: 2rem;
    font-size: 1.8rem;
    height: 6.6rem;
    border-radius: 0.8rem;
    width: 100%;
    font-family: var(--dm-font-family-base);
    color: var(--dm-gray-500);
    border: 0.1rem solid var(--dm-color-subtext);
  }

  .search-down .search-top-content .search-icon {
    position: absolute;
    top: 3rem;
    transform: translateY(-50%);
    width: 3.7rem;
    height: 2.8rem;
    pointer-events: none;
    right: 2.1rem;
  }

  .search-down .search-top-content .search-icon img {
    width: 3.7rem;
    height: 2.8rem;
  }

  .placeholder-content {
    display: flex;
    flex-direction: column;
    gap: 2.1rem;
  }

  .dm-placeholder-info {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
  }

  .dm-placeholder-info .info-text {
    font-family: var(--dm-font-family-base);
    color: var(--dm-gray-500);
    font-size: 2.2rem;
    font-weight: 400;
  }

  .dm-placeholder-info img {
    width: 1.4rem;
    height: 1.4rem;
  }

  .placeholder-title {
    font-family: var(--dm-font-family-base);
    color: var(--dm-gray-500);
    font-size: 2.2rem;
    font-weight: 600;
  }

  .search-placeholder {
    margin-left: 10.7rem;
    margin-top: 5rem;
    display: flex;
    margin-bottom: 7.8rem;
    flex-direction: column;
    gap: 2.2rem;

    /* display: none; */
  }

  .search-results {
    margin-top: 3.2rem;
    margin-bottom: 8.6rem;
    flex-direction: column;
    gap: 1.5rem;
    height: 70rem;
    overflow: hidden auto;
    display: none;
  }

  .search-results-info {
    padding-bottom: 1.5rem;
    display: flex;
    border-bottom: 0.1rem solid var(--dm-color-border);
  }

  .search-results-info a {
    width: 8.8rem;
    height: 8.8rem;
  }

  .search-results-info img {
    width: 8.8rem;
    height: 8.8rem;
  }

  .results-text {
    font-family: var(--dm-font-family-base);
    font-weight: 400;
    font-size: 2.2rem;
    width: 100%;
    padding-left: 2.1rem;
    padding-top: 1.6rem;
    padding-bottom: 1.6rem;
  }

  .no-data-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* notData */
  .loading-text-top {
    width: 68.8rem;
    height: auto;
  }

  .loading-info svg {
    width: 11.2rem;
    height: 11.2rem;
    margin-bottom: 4.2rem;
  }

  .loading-info {
    margin-bottom: 3.2rem;
  }

  .not-title {
    font-size: 4.8rem;
    height: 12rem;
    text-align: center;
    margin-bottom: 4.2rem;
  }

  .not-spec {
    line-height: 4.2rem;
    font-size: 3.4rem;
  }

  .error-contact-content {
    margin-top: 7.5rem;
  }

  .error-contact-content .error-contact-title {
    font-size: 4.8rem;
  }

  .error-contact-content .form-content {
    margin-top: 8.2rem;
    margin-bottom: 7.6rem;
    width: auto;
  }

  .error-contact-content {
    width: auto;
    height: auto;
  }

  .error-contact-content .form-content .form-item {
    width: 100%;
  }

  .not-verify {
    margin-bottom: 5.4rem;
  }

  .error-contact-content .form-content .form-item input {
    height: 5.4rem;
  }

  .select-dropdown p {
    height: 5.4rem;
    line-height: 5.4rem;
  }

  .dm-footer-form {
    width: 32.9rem;
    height: 9.2rem;
  }

  .select-dropdown ul {
    top: 5.4rem;
  }

  #dm-back-to-top svg {
    width: 2.2rem;
  }
}
